package com.smile.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@ToString
@TableName("feisuan_device_payload")
public class FeisuanDronePayload implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("payload_name")
    private String payloadName;

    @TableField("payload_brand")
    private String payloadBrand;

    @TableField("payload_type")
    private String payloadType;

    @TableField("drone_sn")
    private String droneSn;

    @TableField("payload_index")
    private String payloadIndex;

    @TableField("payload_desc")
    private String payloadDesc;


    @TableField("user_id")
    private Long userId;

    /**
     * 1. 作业中 2. 待命 3. 离线
     */
    @TableField("status")
    private Integer status;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("modify_time")
    private LocalDateTime modifyTime;

    @TableField("delete_status")
    private Boolean deleteStatus;
}
